Skip to content

Bump structured-context to ^0.28.1 and honour numeric node order - #50

Merged
mindsocket merged 1 commit into
mainfrom
feat/sctx-0.28
Dec 1, 2026
Merged

mindsocket merged 1 commit into
mainfrom
feat/sctx-0.28

Conversation

@mindsocket

Copy link
Copy Markdown
Owner

Summary

  • Bump structured-context from ^0.26.0 to ^0.28.0 across packages/map-views, packages/sctx-map-views, and apps/navigator.
  • Tree layout (packages/map-views/src/core/layouts/tree/projection.ts): use graph.hierarchyRoots and graph.orphans directly so roots, orphans, and children all honour structured-context's numeric order field.
  • Landscape layout (packages/map-views/src/core/layouts/landscape/projection.ts): sort type-level containers, neighbours, walkChain candidates, and type-dimension groups by numeric order ascending (falling back to space order).
  • Add unit tests covering numeric order in tests/tree.test.ts and tests/landscape.test.ts, and update sample tree > roots are the Phases to assert graph.hierarchyRoots order.

Test plan

  • bun test (123 pass, 0 fail)
  • bun run typecheck
  • bun run lint
  • bun run build

@mindsocket mindsocket changed the title Bump structured-context to ^0.28.0 and honour numeric node order Bump structured-context to ^0.28.1 and honour numeric node order Dec 1, 2026
@mindsocket
mindsocket merged commit 08eb4c6 into main Dec 1, 2026
1 check passed
@mindsocket
mindsocket deleted the feat/sctx-0.28 branch December 1, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant